From: bors Date: Thu, 5 Oct 2017 22:54:59 +0000 (+0000) Subject: Auto merge of #4583 - alexcrichton:unstable, r=matklad X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~6^2~17 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=787ed8e14f8ca5d4c88e58378c756a9d22f702c1;p=cargo.git Auto merge of #4583 - alexcrichton:unstable, r=matklad Fix [patch] causing updates with a virtual manifest This commit fixes the [patch] implementation to avoid causing spurious updates of the registry when specified inside of a virtual manifest via a path dependency that was otherwise outside of the workspace. Cargo previously attempted to learn about path dependencies through the configuration of the workspace by looking at members, their path dependencies, and their replace sections. The replace/patch sections, however, only matter at the root of the workspace and those weren't looked at! This commit fixes this problem by explicitly looking at the workspace's replace/patch sections and avoiding looking at other manifest replace/patch which shouldn't matter. Closes #4552 --- 787ed8e14f8ca5d4c88e58378c756a9d22f702c1